// Author: Puyan Lotfi
// Date: Written in June 2009
// Description: Logic Code Related to the editor, abtracted from the GUI code.

#pragma once

class EditorHelpers
{

public:
    EditorHelpers();
    QString getCurrentFilename();
    QString loadFileText(QString filename);
    void saveFileText(QString filetext);
    void saveFileText(QString filetext, QString filename);
    QString getCurrentFileExtension();

private:
    QString m_currentFilename;

};
